X-Git-Url: http://git.cyclocoop.org/%27%20.%20%24prefix%20.%20Wiki::transformTitleToURI%28%24matches%5B1%5D%29%20.%20%27?a=blobdiff_plain;f=Gruntfile.js;h=811d2c06eb25edb5cf7de0e13fc18b44c0b661a4;hb=b70a3bb821ec96dc840269cc5df0ef96395cdf86;hp=1ecc2c032fab3e0d7dab7c429c4ff882a31f8741;hpb=b3d1931c349314e05c5192a95f6f3250d8183ed0;p=lhc%2Fweb%2Fwiklou.git diff --git a/Gruntfile.js b/Gruntfile.js index 1ecc2c032f..811d2c06eb 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -88,11 +88,14 @@ module.exports = function ( grunt ) { } ], logLevel: 'DEBUG', frameworks: [ 'qunit' ], - reporters: [ 'progress' ], + reporters: [ 'mocha' ], singleRun: true, autoWatch: false, // Some tests in extensions don't yield for more than the default 10s (T89075) - browserNoActivityTimeout: 60 * 1000 + browserNoActivityTimeout: 60 * 1000, + // Karma requires Same-Origin (or CORS) by default since v1.1.1 + // for better stacktraces. But we load the first request from wgServer + crossOriginAttribute: false }, main: { browsers: [ 'Chrome' ]